package top.dreamix.njitkit

import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import cafe.adriel.lyricist.ProvideStrings
import cafe.adriel.lyricist.rememberStrings
import top.dreamix.njitkit.ui.AppNavigation
import top.dreamix.njitkit.ui.theme.NJITKitTheme
import top.dreamix.njitkit.ui.locales.Strings
import cafe.adriel.lyricist.LocalStrings
import top.dreamix.njitkit.ui.locales.LanguageTags

class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        enableEdgeToEdge()
        setContent {
            NJITKitTheme {
                AppNavigation()
            }
        }
    }
}

//@Preview
//@Composable
//fun PreViewMain(){
//    val lyricist = rememberStrings()
//    NJITKitTheme {
//        ProvideStrings(lyricist) {
//            AppNavigation()
//        }
//    }
//}